home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Pascal / source / Infinity Windoid 2.5.1 / Other Versions / WindoidDefines.h—MacApp vers < prev    next >
Encoding:
Text File  |  1994-01-02  |  2.2 KB  |  96 lines  |  [TEXT/MPS ]

  1. //******************************************************************************
  2. //
  3. //    WindoidDefines.h
  4. //
  5. //******************************************************************************
  6. #ifndef __WindoidDefines__
  7. #define __WindoidDefines__
  8.  
  9. //******************************************************************************
  10. //    Conditional Compilation Options
  11. //------------------------------------------------------------------------------
  12.  
  13. #define MACAPP_STYLE
  14.  
  15. #define THICK_TITLEBAR
  16. // #define TITLE_STRING
  17.  
  18. #define ALLOW_ZOOM
  19. // #define ALLOW_VERT
  20. #define ALLOW_GROW
  21.  
  22. // #define SYS7_OR_LATER
  23.  
  24. #define VERS_2_2_COMPATIBLE
  25.  
  26. //******************************************************************************
  27. //    Combinations
  28. //        These should pretty much remain untouched
  29. //------------------------------------------------------------------------------
  30.  
  31. #ifdef VERS_2_2_COMPATIBLE
  32.     #ifndef MFI_ZOOM
  33.     #define MFI_ZOOM
  34.     #endif
  35.     
  36.     #ifndef STAYPUT_ZOOM
  37.     #define STAYPUT_ZOOM
  38.     #endif
  39. #endif
  40.  
  41. //------------------------------------------------------------------------------
  42.  
  43. #ifdef THINK_STYLE
  44.     #ifndef ALLOW_VERT
  45.     #define ALLOW_VERT
  46.     #endif
  47.  
  48.     #ifndef ALWAYS_HILITE
  49.     #define ALWAYS_HILITE
  50.     #endif
  51.  
  52.     #ifdef MACAPP_STYLE
  53.     #undef MACAPP_STYLE
  54.     #endif
  55. #endif
  56.  
  57. //------------------------------------------------------------------------------
  58.  
  59. #ifdef MACAPP_STYLE
  60.     #ifdef ALLOW_VERT
  61.     #undef ALLOW_VERT
  62.     #endif
  63.  
  64.     #ifdef ALWAYS_HILITE
  65.     #undef ALWAYS_HILITE
  66.     #endif
  67.  
  68.     #ifndef ALLOW_GROW
  69.     #define ALLOW_GROW
  70.     #endif
  71. #endif
  72.  
  73. //------------------------------------------------------------------------------
  74.  
  75. #ifdef SYS7_OR_LATER
  76.     #ifndef USE_GESTALT
  77.     #define USE_GESTALT
  78.     #endif
  79. #endif
  80.  
  81. //******************************************************************************
  82. //    System version define for the Apple Interfaces
  83. //------------------------------------------------------------------------------
  84.  
  85. #ifdef SYS7_OR_LATER
  86.     #define SystemSevenOrLater 1    
  87. #else
  88.     #define SystemSixOrLater 1        
  89. #endif
  90.  
  91.     // This is used so that we can cut down on the code size in MPW. If 
  92.     // support for earlier systems is important, get rid of this. 
  93.     // Note: for this define to work under THINK C, MacHeaders cannot be used.
  94.  
  95. //******************************************************************************
  96. #endif